package com.hsylient.common.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @TableName student
 */
@Data
@NoArgsConstructor
public class Student {
    private Long id;

    private String name;

    private Integer age;

    private Integer score;

    private String grade;

    private Long teacherId;

    private Date createTime;

    private Date updateTime;

    private String hobbies;


    public Student(String name, Integer age, Integer score, Long teacherId) {
        this.name = name;
        this.age = age;
        this.score = score;
        this.teacherId = teacherId;
    }
}